<?php TPL::output('admin/global/header.tpl.htm'); ?>
<!--left-->
<?php TPL::output('admin/global/left.tpl.htm'); ?>
<!--left-->

<div id="main-content" style="margin:0 0 0 200px;">
	<div class="clear"></div>
	<div class="content-box">
		<div class="content-box-header">
			<h3>用户权限</h3>
			<ul class="content-box-tabs">
			</ul>
			<div class="clear"></div>
		</div>
		<div class="content-box-content">
			<div id="notification_box" class="notification success png_bg" style="display:none;"> <a class="close" href="javascript:;"></a>
				<div name="notification_content"></div>
			</div>
			<div class="tab-content default-tab" id="tab1">
				<form id="_save_form" action="admin/setting/sys_save_ajax/" method="post">
					<fieldset>
					<p groupid="4" name="answer_unique">
						<label>用户对每个站点的回复限制：</label>
						<input type="radio" name="answer_unique" value="Y" <?php if ($this->setting['answer_unique'] == 'Y'){ ?> checked="true"<?php } ?>/>
						只允许回复一次
						<input type="radio" name="answer_unique" value="N" <?php if ($this->setting['answer_unique'] == 'N'){ ?> checked="true"<?php } ?>/>
						不限制 </p>
					<p groupid="4" name="answer_self_question">
						<label>允许用户回复自己发起的站点：</label>
						<input type="radio" name="answer_self_question" value="Y" <?php if ($this->setting['answer_self_question'] == 'Y'){ ?> checked="true"<?php } ?>/>
						是
						<input type="radio" name="answer_self_question" value="N" <?php if ($this->setting['answer_self_question'] == 'N'){ ?> checked="true"<?php } ?>/>
						否 </p>
					<p groupid="6" name="anonymous_enable">
						<label>允许匿名发起或回复：</label>
						<input type="radio" name="anonymous_enable" value="Y" <?php if ($this->setting['anonymous_enable'] == 'Y'){ ?> checked="true"<?php } ?>/>
						是
						<input type="radio" name="anonymous_enable" value="N" <?php if ($this->setting['anonymous_enable'] == 'N'){ ?> checked="true"<?php } ?>/>
						否 </p>
					<p>
						<input class="button" type="button" onClick="ajax_post($('#_save_form'), _form_process);" value="  保  存  " />
					</p>
					</fieldset>
					<div class="clear"></div>
				</form>
			</div>
		</div>
		<div class="clear"></div>
		<div id="notf_tip" style="display:none;" class="notification png_bg"> <a href="javascript:;" class="close"><img src="<?php echo G_STATIC_URL;?>/admin/images/icons/cross_grey_small.png" alt="关闭" /></a>
			<div id="notf_cont"></div>
		</div>
	</div>
	<!-- footer -->
	<?php TPL::output('admin/global/footer.tpl.htm'); ?>
	<!-- footer -->
</div>
<!-- main -->
</div>
</body></html>